import request from '@/utils/request'

export default {

  /**
   * 发送验证码方法
   * @param {用户手机号} phone 
   * @returns 
   */
  sendCode(phone) {
    return request({
      url: '/edumsm/msm/sendCode/' + phone,
      method: 'post'
    })
  },

  /**
   * 注册用户方法
   * @param {用户填写的表单} member 
   * @returns 
   */
  regist(member) {
    return request({
      url: '/educenter/member/register',
      method: 'post',
      data: member
    })
  },



}